package internal

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func UserInfoHandler(c *gin.Context) {
	plain := c.GetString("DECRYPTED_BODY") // 解密后的 JSON 字符串

	c.JSON(http.StatusOK, gin.H{
		"message":        "访问成功",
		"decrypted_data": plain,
	})
}
